package com.shop.domin;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

//#用户角色表
@Data
@NoArgsConstructor
@AllArgsConstructor
@TableName("userroles")
public class Userroles implements Serializable {
    @TableId(value = "userRolesId",type = IdType.AUTO)
    private Integer userRolesId;//用户角色编号

    private Integer roleId;//角色编号

    private Integer userId;//用户编号

    private Integer userRolesWeight;//权重值

    private Integer parentIdStatus;//父id状态  暂无用
}
